"""
函数的返回值
"""


def add(num1, num2):
    print(f"{num1} + {num2} = {num1 + num2}")
    return num1 + num2


result = add(3, 5)
print(result, type(result))
result = add(3.5, 5)
print(result, type(result))
